home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 November: Tool Chest / Dev.CD Nov 98 TC.toast / Sample Code / Snippets / Development Tools & Languages / DTSCPlusLibrary / Sources / ToolboxTest.cp < prev    next >
Encoding:
Text File  |  1993-01-14  |  1.2 KB  |  39 lines  |  [TEXT/MPS ]

  1. /* _________________________________________________________________________________________________________ //
  2.   Copyright © 1992-93 Apple Computer, Inc. All rights reserved.
  3.   Macintosh Developer Technical Support.C++ Macintosh Toolbox Framework.
  4.   Programmer: Kent Sandvik
  5.   Date: Wednesday, June 10, 1992 22:37:30
  6.   Revision comments are at the end of this file.
  7.   ---
  8.   TToolbox is a Toolbox initialization and testing class.
  9.   TestToolbox.cp contains the testing code for testing TToolbox.
  10.   _________________________________________________________________________________________________________ */
  11.  
  12. #ifndef _TOOLBOX_
  13. #include "Toolbox.h"
  14. #endif
  15.  
  16. // This is a trivial test, all it does is to call the init phase of the TToolbox class,
  17. // and that all it should do anyway…
  18.  
  19. void main(void)
  20. {
  21.     cout << "Start of TToolbox test…\n";
  22.  
  23.     //    Initialize environment.
  24.     TToolbox myToolbox;
  25.     myToolbox.Initialize();
  26.  
  27.     cout << "End of TToolbox test!\n";
  28. }
  29.  
  30. // _________________________________________________________________________________________________________ //
  31.  
  32.  
  33. /*    Change History (most recent last):
  34.   No        Init.    Date        Comment
  35.   1            khs        6/6/92        New file
  36.   2            khs        1/3/93        Cleanup
  37. */
  38.  
  39.